<% @transports.each do |transport| %>
    <article class='transport_package'>
        <header>
            <figure>
                <%= image_tag transport.primary_picture.url(:thumb) %>
                <% if transport.is_on_promoted == true %>
                    <span class="a">Hot</span>
                <% end %>
            </figure>
            <h2><%= link_to transport.transport_name,"#" %></h2>
            <p><span class="rating-a a">0/5</span> ( 20 Ratting )</p>
        </header>
        <%= raw(truncate( transport.description_eng , :length => 150 ))  %>
        <p class="link-b"><a href="./">View Details</a></p>
        <footer>
            <p>for <%= transport.person %> person</p>
        </footer>
    </article>
<% end %>   